package com.yz.lzq.liwushuo.ui.logo;

import com.yz.lzq.liwushuo.ui.modules.comminterface.OnGoToNetActivityListener;

/**
 * Created by Administrator on 2016/12/3.
 * LogoActivity model层的实现类
 */

public class LogoActivityModel implements LogoContract.LogoActivityModelInterface {

    @Override
    public void SleepThread(final OnGoToNetActivityListener listener) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                try {
                    Thread.sleep(3000);
                    listener.goToNextActivity();
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }).start();
    }
}
